CameraTriggerDistanceCommand

class CameraTriggerDistanceCommand(distance: Double, shutterIntegration: Int = -1, triggerOnceImmediately: Boolean, frame: MavlinkCommand.Frame = Frame.COMMAND) : MavlinkCommand

MAVLink command which sets camera trigger distance.

The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera.

You can stop capturing media by issuing a StopPhotoCaptureCommand.

Parameters

distance

Camera trigger distance in meters. Use 0 to stop triggering. The minimum value is 0.

shutterIntegration

Camera shutter integration time in milliseconds. Should be less than trigger cycle time. Use -1 or 0 to ignore. The minimum value is -1 and the increment is 1. Ignored by Anafi.

triggerOnceImmediately

Trigger camera once immediately. Ignored by Anafi.

frame

the reference frame of the coordinates.

Constructors

Link copied to clipboard
constructor(distance: Double, shutterIntegration: Int = -1, triggerOnceImmediately: Boolean, frame: MavlinkCommand.Frame = Frame.COMMAND)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Camera trigger distance in meters.

Link copied to clipboard

The coordinate frame; set to global coordinate frame or relative altitude over ground.

Link copied to clipboard

the raw parameters of the command

Link copied to clipboard

The MAVLink command type

Link copied to clipboard

Camera shutter integration time in milliseconds.

Link copied to clipboard

Whether the camera triggers once immediately.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun write(writer: Writer, index: Int, frame: MavlinkCommand.Frame)

Writes the MAVLink command to the given writer.